<phone:PhoneApplicationPage
    x:Class="LyonMag.Detail"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="80"/>
            <RowDefinition Height="665"/>
            <RowDefinition Height="80">

            </RowDefinition>
        </Grid.RowDefinitions>

        <!-- LOCALIZATION NOTE:
            To localize the displayed strings copy their values to appropriately named
            keys in the app's neutral language resource file (AppResources.resx) then
            replace the hard-coded text value between the attributes' quotation marks
            with the binding clause whose path points to that string name.

            For example:

                Text="{Binding Path=LocalizedResources.ApplicationTitle, Source={StaticResource LocalizedStrings}}"

            This binding points to the template's string resource named "ApplicationTitle".

            Adding supported languages in the Project Properties tab will create a
            new resx file per language that can carry the translated values of your
            UI strings. The binding in these examples will cause the value of the
            attributes to be drawn from the .resx file that matches the
            CurrentUICulture of the app at run time.
         -->

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="0,0,0,0" Background="#AD1F15" Orientation="Horizontal">
            <Image x:Name="imgLogo" Source="Assets/Licons/navBar.png" Margin="-40,0,0,0"></Image>
        </StackPanel>
        <ProgressBar x:Name="btnProgress" IsIndeterminate="True" Foreground="Red" Margin="0,300,0,0"></ProgressBar>
        <!--ContentPanel - place additional content here-->
        <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Visible">
        <Grid x:Name="ContentPanel"  Grid.Row="1" Margin="12,0,12,0" Background="White" ScrollViewer.VerticalScrollBarVisibility="Auto">
            <StackPanel>
                <StackPanel Height="30">
                    <TextBlock FontSize="28" x:Name="txtTile" Foreground="Black"></TextBlock>
                </StackPanel>
                <StackPanel >
                    <TextBlock FontSize="30" FontWeight="SemiBold" TextWrapping="Wrap" x:Name="txtHeader" Foreground="Black" ></TextBlock>
                </StackPanel>
                <StackPanel>
                    <TextBlock x:Name="txtDate" HorizontalAlignment="Center" Foreground="Black"></TextBlock>
                </StackPanel>
                <StackPanel Orientation="Vertical">
                    <Image x:Name="img" Height="200" Width="460"></Image>
                        <TextBlock Margin="0,10,0,0" x:Name="txtThumbTitle" Foreground="Black"  TextWrapping="Wrap" HorizontalAlignment="Center" FontFamily="italic"  FontStyle="Italic"></TextBlock>
                </StackPanel>
                
                <StackPanel Margin="0,10,0,0">
                        <!--<phone:WebBrowser IsScriptEnabled="True" x:Name="web" Height="500" Background="Black"></phone:WebBrowser>-->
                        <TextBlock Width="460" TextWrapping="Wrap" x:Name="txtDescription" Foreground="Black"></TextBlock>
                    </StackPanel>
                <StackPanel></StackPanel>
            </StackPanel>
        </Grid>
        </ScrollViewer>
        <Grid Grid.Row="2" Background="Gray" >
            <StackPanel VerticalAlignment="Center" Margin="0,0,0,0">
            <StackPanel   Orientation="Horizontal"   >

                    <StackPanel.Resources>
                        <Style TargetType="StackPanel">
                            <Setter Property="Margin" Value="10,0,0,0"></Setter>
                        </Style>
                    </StackPanel.Resources>
                <StackPanel Orientation="Vertical" Width="60" x:Name="stkFacebook" Tap="stkFacebook_Tap" VerticalAlignment="Center">
                    <Image Source="Assets/Licons/button_facebook.png" Width="80" Height="60"></Image>
                    
                </StackPanel>
                <StackPanel Width="60" x:Name="stkTwitter" Tap="stkTwitter_Tap" VerticalAlignment="Center">
                    <Image Source="Assets/Licons/button_twitter.png" Width="80" Height="60"></Image>
                </StackPanel>
                <StackPanel Width="60" x:Name="stkEmail" Tap="stkEmail_Tap" VerticalAlignment="Center">
                    <Image Source="Assets/Licons/button_mail.png" Width="80" Height="60" ></Image>
                </StackPanel>

                <StackPanel   Orientation="Horizontal" x:Name="stkComments" Tap="stkComments_Tap" VerticalAlignment="Center">
                    <Image Source="Assets/Licons/button_comments.png"  Height="50" Width="80" Margin="100,-5,0,0"/>
                    <TextBlock  Foreground="White" x:Name="txtccount"  Width="80" Margin="0,10,0,0" TextWrapping="Wrap"></TextBlock>
                </StackPanel>
            </StackPanel>
            </StackPanel>
        </Grid>

    </Grid>

</phone:PhoneApplicationPage>